package com.tebiecloud.yunst.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 
 * @author tebie
 * @date 2019-10-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class YunTransfer extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "transfer_id", type = IdType.ID_WORKER)
    private Long transferId;

    /**
     * 原账号id
     */
    private String sourceId;

    /**
     * 目标账号id
     */
    private String targetId;

    /**
     * 金额，单位：分
     */
    private Integer amount;

    /**
     * 备注
     */
    private String remark;

}
